import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

import router from './router/index'
import store from './store'


// import ElementUI from 'element-ui'
import '@/styles/common/element-variables.scss'
// import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
// Vue.use(ElementUI, { locale })
import './plugins'

import { hasPermission } from '@/utils/index.js'
//全局方法挂载
Vue.prototype.$_has = hasPermission

import '@/styles/layout/index.scss'
import '@/permission'

import utils from '@/utils/index.js'
Vue.prototype.utils = utils

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
